package com.zzh.mymath;

public class MyMath{
    public static void swap(int [] a,int from,int to){
        int temp=a[from];
        a[from]=a[to];
        a[to]=temp;
    }
    public static void swap(char[] a,int from,int to){
        char temp=a[from];
        a[from]=a[to];
        a[to]=temp;
    }
}
